package cn.bgs.service;

import cn.bgs.pojo.Building;
import cn.bgs.pojo.CommunityVo;
import cn.bgs.pojo.Portal;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface InfoService {
    PageInfo<CommunityVo> page1(String houseuse, String communityId, String howmany, Integer pagesize, Integer pagenow);

    PageInfo<CommunityVo> page2(String communityId,String houseuse, String state, Integer pagesize, Integer pagenow);

    void addCommunity(Building forms);

    void del(Integer id);

    void updatebuilding(Building formData);

    List<Building> load(Integer id);

    void addportal(Portal forms);

    void delportal(Integer id);
}
